<HTML>
<HEAD>
</HEAD>
<BODY>
	<SCRIPT>
	 function getxmlfromapplet() {
		div = document.getElementById("xmlcontent");
		div.innerHTML = document.HelloWorld.getXMLContent();		
	 }
	 function appletwritetest() {
	    div = document.getElementById("xmlcontent");
		div.innerHTML = document.HelloWorld.writeFile();	
				
	 }
	</SCRIPT>

	<FORM>
		<INPUT type="button" 
			   value="Show XML Contents"
			   onClick = "getxmlfromapplet()">
	</FORM>

	<div id ="xmlcontent"> 
	</div>
	
	<FORM>
		<INPUT type="button" 
			   value="Write test"
			   onClick = "appletwritetest()">
	</FORM>
	<applet code="HelloWorld.class" 
			name="HelloWorld"
			codebase="" 
			archive="HelloWorld.jar" 
			width="500" 
			height="500">
	</applet>
</BODY>
</HTML>

		